package han.model;

public class DepartVO {
	private String dept;
	private String tel;
	private String position;
	private int chief;
	private String hiredate;
	public DepartVO(String dept,String tel,String position,int chief,String hiredate){
		this.dept= dept;
		this.tel = tel;
		this.position = position;
		this.chief = chief;
		this.hiredate = hiredate;
	}
	public void setDept(String dept){
		this.dept = dept;
	}
	public void setTel(String tel){
		this.tel = tel;
	}
	public void setPosition(String position){
		this.position = position;
	}
	public void setChief(int chief){
		this.chief = chief;
	}
	public void setHiredate(String hiredate){
		this.hiredate = hiredate;
	}
	public String getDept(){return dept;}
	public String getTel(){return tel;}
	public String getPosition(){return position;}
	public int getChief(){return chief;}
	public String getHiredate(){return hiredate;}
	@Override
	public String toString() {
		String result="";
		result+=dept+"/"+tel+"/"+position+"/"+chief+"/"+hiredate;
		return result;
	}
}
	//public void setYyy(xxx yyy){
	//this.yyy= yyy}